package org.visionlibrary.image.filters.adjustement;

import org.visionlibrary.image.model.PixelFilter;

public class Brightness extends PixelFilter {
	int increase;

	public Brightness() {
		this(50);
	}

	public Brightness(int increase) {
		this.increase = increase;
	}

	protected int getNewPixelVal(int value) {
		return value + increase;
	}

	public int getIncrease() {
		return increase;
	}

	public void setIncrease(int increase) {
		this.increase = increase;
	}
	
	@Override
	public String toString() {
		return new String("Adjustement>Brightness");
	}
}
